package org.example.examsystem.mapper;



import org.example.examsystem.entity.Student ;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.domain.Pageable;

import java.util.List;

@Mapper
public interface StudentMapper {
    List<Student> findAllStudents(int offset, int pageSize, Integer classid);

    int countAllStudents(Integer classid);

    void insertStudent(Student student);

    void updateStudent(Student student);

    void deleteStudent(int userid);

    void deleteStudents(List<Integer> ids);
}